package com.blog.dxxr.blogfront.Service;

import com.blog.dxxr.blogfront.Domain.Article;
import com.blog.dxxr.blogfront.Domain.ArticleWithBLOBs;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    List<Article> queryArticleListIndex(Map<String,Object> map);

    int queryArticleTotalIndex(Map<String,Object> map);

    List<Article> queryArticleListIndexByArticleIds(String[] tagIds);

    int queryArticleListTotalIndexByArticleIds(String[] tagIds);

    List<Article> queryArticleListRecent();

    ArticleWithBLOBs queryArticleById(String id);

    Article selectProArticleById(String createDate);

    Article selectNextArticleById(String createDate);

    String queryArticleCreateDateById(String id);
}
